import request from '@/libs/request'

// export const yan = () =>
//   request({
//     url: '/douban',
//     method: 'post'
//   })
export const yan = () =>
  request.get('/douban', { custom: { token: false, loading: true } })
export const jokes_list = () =>
  request.post('https://www.mxnzp.com/api/jokes/list', null, {
    params: {
      page: 1,
      app_id: 'l0sadgitossrnfko',
      app_secret: 'eTZCTTQyM2hjaW1LZUpjNENFVDBZZz09'
    }
  })
